package main.newViz;

import javax.swing.*;

/**
 * Date: 19.05.2008
 * Time: 17:38:40
 *
 * @author Denis DIR Rozhnev
 */
class MyTabbedPane extends JTabbedPane {
    private GamePanel gamePanel;
    private LogPanel logPanel;
    private StatisticsPanel statPanel;
    private StrategiesPanel strategiesPanel;
    private SettingsPanel settingsPanel;
    private Runner runner;

    MyTabbedPane(Runner runner, Config config) {
        this.runner = runner;

        gamePanel = new GamePanel(config, runner);
        addTab("Game", gamePanel);

        logPanel = new LogPanel();
        addTab("Log", logPanel);

        statPanel = new StatisticsPanel();
        addTab("Statistics", statPanel);

        strategiesPanel = new StrategiesPanel(config);
        addTab("Strategies", strategiesPanel);

        settingsPanel = new SettingsPanel();
        addTab("Settings", settingsPanel);
    }

    class LogPanel extends JPanel {
        //todo
    }

}
